package com.cheng.operation;

import com.cheng.common.exception.CommonException;
import com.cheng.data.vo.AcceptInfoVO;
import com.cheng.data.vo.ReqPageInfoVO;
import com.cheng.data.vo.RespPageInfoVO;

/**
 * @author: ChengJW
 * @date: 2021/11/8 20:57
 * @version: 1.0
 * @description: 受理信息表 业务逻辑处理
 */
public interface AcceptInfoOperation {

    /**
     * @author: ChengJW
     * @params: [atAcptId]
     * @return: int
     * @date: 2021/9/20
     * @description: 插入 acceptInfo 信息
     */
    void insertAcceptInfo(String atAcptId) throws CommonException;

    /**
     * @author: ChengJW
     * @params: [map]
     * @return: java.util.List<com.cheng.data.entity.AcceptInfoEntity>
     * @date: 2021/9/22
     * @description: 根据条件，查询 acceptInfo 信息并分页返回
     */
    RespPageInfoVO selectAcceptInfoList(ReqPageInfoVO vo) throws CommonException;

    /**
     * @author: ChengJW
     * @params: [vo]
     * @return: int
     * @date: 2021/9/23
     * @description: 根据条件修改 acceptInfo 信息
     */
    void updateAcceptInfo(AcceptInfoVO vo) throws CommonException;

    /**
     * @author: ChengJW
     * @params: [vo]
     * @return: int
     * @date: 2021/9/23
     * @description: 根据受理号，删除 acceptInfo 信息
     */
    void deleteAcceptInfo(AcceptInfoVO vo) throws CommonException;

    /**
    * @author: ChengJW
    * @params: [vo]
    * @return: com.cheng.data.vo.AcceptInfoVO
    * @date: 2021/11/30
    * @description: 查找受理信息
    */
    AcceptInfoVO queryAcceptInfoVO(AcceptInfoVO vo) throws CommonException;

    /**
    * @author: ChengJW
    * @params: [pageInfoVO]
    * @return: com.cheng.data.vo.RespPageInfoVO
    * @date: 2021/12/20
    * @description: 统计受理信息
    */
    RespPageInfoVO queryStatisticsAcceptList(ReqPageInfoVO pageInfoVO) throws CommonException;
}
